import random
names = open("names.txt", "r")
nlist = [name.split() for name in names]         

class Generic:
	def __init__(self):
		x = random.Random()
		self.idnum = x.random()
		self.name = x.choice(nlist)

class Message:
	def __init__(self, frm, to, msg): 
		self.frm = frm 
		self.to = to 
		self.msg = msg
		self.sendmsg()
		
	def sendmsg(self):
		print self.frm 
		print self.to 
		print self.msg
		
class Parse:
	def __init__(self, filename):
		self.rawfile = open(filename, "r")
		self.readfile = self.rawfile.readlines()

